#include "shm.hpp"
#include "namedPipe.hpp"

int main()
{
    Shm shm(gcomm_path,gproj_id,gCreater);
    char* shmaddr = (char*)shm.Addr();

    NamePiped fifo(comm_path,Creater);
    fifo.OpenForRead();
    std::string message;
    fifo.ReadPipe(&message);

    std::cout<< shmaddr << std::endl;

    return 0;
}